package com.ruoyi.quality.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.quality.domain.QualityPhysicalDefect;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 质量通报视图对象 quality_physical_report
 *
 * @author ruoyi
 * @date 2023-07-31
 */
@Data
@ExcelIgnoreUnannotated
public class QualityPhysicalReportVo {

    private static final long serialVersionUID = 1L;

    /**
     * 通报id
     */
    @ExcelProperty(value = "通报id")
    private Long reportId;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private String reportNumber;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "report_class")
    private String reportName;

    /**
     * 摘要
     */
    @ExcelProperty(value = "摘要")
    private String reportAbstract;

    /**
     * 部门
     */
    @ExcelProperty(value = "部门", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dept_abbreviation")
    private String deptAbbreviation;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private Date reportDate;

    /**
     * 措施
     */
    @ExcelProperty(value = "措施")
    private String reportMeasure;

    /**
     * 问题列表
     */
    private List<QualityPhysicalDefectVo> defectList;

}
